/**
 * @Author: 陈瑞鹏
 * @Date:   2023-01-28 11:42:18
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2023-01-30 15:36:00
 */
export class helpEntity {
  id: number = 0;
  name: string = "";
  desc: string = "";
  type: number = 0;
  pro: number = 0; //概率
  startW: number = 0;
  endW: number = 0;
  public init(val) {
    this.id = val.id;
    this.name = val.name || "";
    this.desc = val.desc || "";
    this.type = val.type;
    this.pro = Number(val.pro) * 100;
  }
}